package com.contact.util.util.validation;

/**
 * For use in validating fields lengths on import files.
 */
public class FieldCharacterLength {

    private String fieldName;
    private String value;
    private int allowedLength;

    public FieldCharacterLength(String fieldName, String value, int allowedLength) {
        super();
        this.fieldName = fieldName;
        this.value = value;
        this.allowedLength = allowedLength;
    }

    public String getFieldName() {
        return fieldName;
    }
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    public int getAllowedLength() {
        return allowedLength;
    }
    public void setAllowedLength(int allowedLength) {
        this.allowedLength = allowedLength;
    }
}
